package com.lxmes.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 人事档案对象 nc_personnel_info
 *
 * @author 张志煜
 * @date 2022-11-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class NcPersonnelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司代码  */
    @Excel(name = "公司代码 ")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String pName;

    /** 工号 */
    @Excel(name = "工号")
    private String jobNo;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 分部 */
    @Excel(name = "分部")
    private String branch;

    /** 车间 */
    @Excel(name = "车间")
    private String workshop;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryDate;

    /** 班次 */
    @Excel(name = "班次")
    private String shift;

    /** 组别 */
    @Excel(name = "组别")
    private String pGroup;

    /** 工序（工位） */
    @Excel(name = "工序", readConverterExp = "工=位")
    private String process;

    /** 岗位 */
    @Excel(name = "岗位")
    private String jobs;

    /** 层级类别 */
    @Excel(name = "层级类别")
    private String cjType;

    /** 层级编号 */
    @Excel(name = "层级编号")
    private String chCode;

    @Excel(name = "用户ID")
    private Long userId;
    //是否同步 0未同步 1-已同步
    private String isTb;
    /**照片*/
    private String photo;

/*状态*/
    private String state;

}
